package cn.hotel.pojo;

import cn.hotel.utlis.StringUtil;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

/*订单管理*/
public class OrderManagement {

    //序号
    private Long id;
    //订单号
    private String password;
    //客户id
    private String manageName;
    //入住时间
    private String checkInDate;
    //退房时间
    private String checkOutDate;
    //手机号
    private String mobilePhone;
    //身份证号
    private String identityCard;
    //入住人数
    private int personNum;
    //入住房型id
    private int houseTypeId;
    //房型价格
    private String price;
    //入住房间
    private int roomNumber;
    //会员折扣
    private double discount;
    //累计今日收益
    private String earnings;
    //备注
    private String remark;
    //房型类
    private HouseType houseType;
    //客房状态类
    private RoomKeeper roomKeeper;

    public RoomKeeper getRoomKeeper() {
        return roomKeeper;
    }

    public void setRoomKeeper(RoomKeeper roomKeeper) {
        this.roomKeeper = roomKeeper;
    }

    public HouseType getHouseType() {
        return houseType;
    }

    public void setHouseType(HouseType houseType) {
        this.houseType = houseType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getManageName() {
        return manageName;
    }

    public void setManageName(String manageName) {
        this.manageName = manageName;
    }

    public String getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(String checkInDate) {
        this.checkInDate = checkInDate;
    }

    public String getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(String checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public int getPersonNum() {
        return personNum;
    }

    public void setPersonNum(int personNum) {
        this.personNum = personNum;
    }

    public int getHouseTypeId() {
        return houseTypeId;
    }

    public void setHouseTypeId(int houseTypeId) {
        this.houseTypeId = houseTypeId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
            this.price = price;
    }

    public int getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(int roomNumber) {
        this.roomNumber = roomNumber;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public String getEarnings() {
        return earnings;
    }

    public void setEarnings(String earnings) {
        this.earnings = earnings;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "OrderManagement{" +
                "id=" + id +
                ", password='" + password + '\'' +
                ", manageName='" + manageName + '\'' +
                ", checkInDate='" + checkInDate + '\'' +
                ", checkOutDate='" + checkOutDate + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", identityCard='" + identityCard + '\'' +
                ", personNum=" + personNum +
                ", houseTypeId=" + houseTypeId +
                ", price='" + price + '\'' +
                ", roomNumber=" + roomNumber +
                ", discount=" + discount +
                ", earnings='" + earnings + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
